﻿
using System;

namespace Sharp.Platform
{
    /// <summary>
    /// Class OrderIndexAttribute.
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class OrderIndexAttribute : System.Attribute
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="OrderIndexAttribute"/> class.
        /// </summary>
        /// <param name="value">The value.</param>
        public OrderIndexAttribute(int value)
        {
            this.Value = value;
        }

        /// <summary>
        /// Gets or sets the value.
        /// </summary>
        /// <value>The value.</value>
        public int Value { get; set; }
    }
}